package com.bdqn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Chapter entity. @author MyEclipse Persistence Tools
 */

public class Chapter implements java.io.Serializable {

	// Fields

	private Integer chapterId;
	private Subject subject;
	private String chapterName;
	private String description;
	private Set teams = new HashSet(0);
	private Set phases = new HashSet(0);

	// Constructors

	/** default constructor */
	public Chapter() {
	}

	/** minimal constructor */
	public Chapter(Subject subject, String chapterName) {
		this.subject = subject;
		this.chapterName = chapterName;
	}

	/** full constructor */
	public Chapter(Subject subject, String chapterName, String description,
			Set teams, Set phases) {
		this.subject = subject;
		this.chapterName = chapterName;
		this.description = description;
		this.teams = teams;
		this.phases = phases;
	}

	// Property accessors

	public Integer getChapterId() {
		return this.chapterId;
	}

	public void setChapterId(Integer chapterId) {
		this.chapterId = chapterId;
	}

	public Subject getSubject() {
		return this.subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public String getChapterName() {
		return this.chapterName;
	}

	public void setChapterName(String chapterName) {
		this.chapterName = chapterName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getTeams() {
		return this.teams;
	}

	public void setTeams(Set teams) {
		this.teams = teams;
	}

	public Set getPhases() {
		return this.phases;
	}

	public void setPhases(Set phases) {
		this.phases = phases;
	}

}